﻿/*
 * Crée par SharpDevelop.
 * Utilisateur: Davyd REY
 * Date: 27/03/2011
 * Heure: 00:29
 */
using System;
using System.Drawing;
using System.Windows.Forms;

namespace dotSqlCopy
{
	/// <summary>
	/// Description of FormSaveConfig.
	/// </summary>
	public partial class FormSaveConfig : ComponentFactory.Krypton.Toolkit.KryptonForm
	{
		public FormMain _ParentForm = null;
		public string NewConfigName = "";
		
		public FormSaveConfig()
		{
			//
			// The InitializeComponent() call is required for Windows Forms designer support.
			//
			InitializeComponent();
		}
		
		void ButtonOkClick(object sender, EventArgs e)
		{
			NewConfigName = textBoxConfig.Text;
			this.DialogResult = DialogResult.OK;
		}
		
		void FormSaveConfigShown(object sender, EventArgs e)
		{
			textBoxConfig.Focus();
		}
	}
}
